present

open fun SdJwt<JWT>.present(query: Set<ClaimPath>): SdJwt<JWT>?(source)

Tries to create a presentation that discloses the requested claims.

Receiver

The issuance SD-JWT upon which the presentation will be based

Return

the presentation if possible to satisfy the query

Parameters

query

a set of ClaimPaths to include in the presentation. The ClaimPath are relative to the unprotected JSON (not the JWT payload). In case that the query is empty it is implied that all claims are requested for presentation.

JWT

the type representing the JWT part of the SD-JWT